package com.hyt.it.ogt.kq.service.bm.model.dto;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.HeadStyle;
import com.hyt.core.ModelSerializable;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * @Description:
 * @Author: STARF
 * @CreateDate: 2022/03/02 17:26
 **/
/**
 * @Description:    报名流程
 * @Author: STARF
 * @CreateDate: 2022/03/02 17:02
 **/
@Data
@Accessors(chain = true)
@ApiModel(value = "科目限额dto", description = "科目限额dto")
public class SubjectAreaLimitTemplateDto implements ModelSerializable {

    /**
     * 
     */
    private static final long serialVersionUID = 1746866411703956021L;
    
    private static final String TEMPLETE_DESC = "模板说明: \n" +
                    "1. 模板自带信息，请勿删除；\n" +
                    "2. 报名区域限额数据必填，默认限额为“0”，代表此区域不开放，没有报名名额，可填写大于0的正整数，代表此区域最大报名人数限制；\n" +
                    "3. 带*字段为必填项；";

    
    @ExcelProperty(value = {TEMPLETE_DESC, "项目ID"})
    @ApiModelProperty(value = "项目ID")
    private String projectId;

    @ApiModelProperty(value = "项目名称")
    @ExcelProperty(value = {TEMPLETE_DESC, "项目名称"})
    private String projectName;

    @ApiModelProperty(value = "科目ID")
    @ExcelProperty(value = {TEMPLETE_DESC, "科目ID"})
    private String subjectId;

    @ApiModelProperty(value = "科目名称")
    @ExcelProperty(value = {TEMPLETE_DESC, "科目名称"})
    private String subjectName;
    
    @ApiModelProperty(value = "报名区域ID")
    @ExcelProperty(value = {TEMPLETE_DESC, "报名区域ID"})
    private String bmAreaID;
    
    @ApiModelProperty(value = "报名区域名称")
    @ExcelProperty(value = {TEMPLETE_DESC, "报名区域名称"})
    private String bmAreaName;
    
    @ApiModelProperty(value = "*报名区域限额", required = true)
    @ExcelProperty(value = {TEMPLETE_DESC, "*报名区域限额"})
    @HeadStyle(fillForegroundColor=10)
    private Integer bmAreaLimit;
}
